<?php
 
/**
 * Version 0.1.3
 *
 * FlowPedia Plugin for MediaWiki
 * 
 * Copyright 2010 Michael Schräber <michael.schraeber@wirtschaft.tu-chemnitz.de>
 * Released under the GNU General Public License
 * 
 */

// Alert the user that this is not a valid entry point to MediaWiki if they try to access the special pages file directly.
if (!defined('MEDIAWIKI')) {
	echo <<<EOT
To install my extension, put the following line in LocalSettings.php:
require_once( "\$IP/extensions/ActivityStreamsPlugin/ActivityStreamsPlugin.php" );
EOT;
	exit( 1 );
}


$wgActivityStreamsPluginVersion = '0.0.1';

$wgExtensionCredits['specialpage'][]    = array(
	'version'        => $wgActivityStreamsPluginVersion,
	'name'           => 'ActivityStrea.ms Plugin for MediaWiki',
	'author'         => '[http://www.michael-schraeber.de Michael Schräber]',
	'url'            => 'http://www.mediawiki.org/wiki/Extension:ActivityStreamsPlugin',
	'description'    => 'activitystreamsplugin-desc',
	'descriptionmsg' => 'activitystreamsplugin-desc',
);

$dir = dirname(__FILE__) . '/';

$wgAutoloadClasses['ActivityStreamsPlugin'] = $dir . 'ActivityStreamsPlugin.specialpage.php'; # Location of the MyExtension class (Tell MediaWiki to load this file)
$wgAutoloadClasses['ActivityStreamsPluginFunctions'] = $dir . 'ActivityStreamsPluginFunctions.class.php'; # Location of the MyExtension class (Tell MediaWiki to load this file)
$wgExtensionMessagesFiles['ActivityStreamsPlugin'] = $dir . 'ActivityStreamsPlugin.i18n.php'; # Location of a messages file (Tell MediaWiki to load this file)
$wgExtensionAliasesFiles['ActivityStreamsPlugin'] = $dir . 'ActivityStreamsPlugin.alias.php'; # Location of an alias file (Tell MediaWiki to load this file)
$wgSpecialPages['ActivityStreamsPlugin'] = 'ActivityStreamsPlugin'; # Tell MediaWiki about the new special page and its class name

$wgSpecialPageGroups['ActivityStreamsPlugin'] = 'pagetools';

?>

